Javascript libraries

/shared/request.js

Functions for getting and saving data using XMLHttpRequest object: httpLoad(url) , httpSave(url, data). Note: on IE when you are using httpLoad(), the server script should send nocache headers, otherwise IE will cache the content.

/shared/form.js

After including this file, the submit button in the form will be disabled after user clicks on it. It is to prevent double-clicks.

/shared/debug.js

3 functions for debugging purposes: debug(string) , debugObject(object) , debugArray(array). The data is displayed in a popup window.

/shared/common.js

Some common functions/classes used in many places in the application. For example function el(id) is a shortcut for document.getElementById(id).

/shared/management.js.php

Some functions used on Management page. Functions that make server-side calls: documentInfo() , editContent() , saveContent(). There is also a Fader() class used to make a text animation when data is loading/saving, 4 functions use it: tabsLoadingOn() , tabsLoadingOff() , tabsSavingOn() , tabsSavingOff(), they are currently not used because http calls are made synchronously and no other script is possible to execute at that moment.

/shared/DynamicTree/

Tree View widget. Managing the tree structure, performs server side calls when you make changes to the structure.

/shared/SimpleTextEditor/

Wysiwyg editor used when editing content. Works with IE,Mozilla,Firefox,Netscape. On other browsers that do not support dynamic content editing a textarea will appear instead.

/shared/XulMenu/

Top Menu widget. It is capable of displaying menus with unlimited nesting.

/shared/XulTabs/

Tabs widget. It is used when a document is selected, two tabs are available Document Info and Edit Content. It automatically binds tabs with data in html. It is currently disabled in simpledoc, because some stuff changed in time and it was easier to manage these two tabs manually.


Generated by SimpleDoc on 2004-11-22 22:05:49 GMT+01:00